﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Web.Domain.Abstract;
using Web.Domain.Entities;

namespace Web.UI.Controllers
{
    public class NavController : Controller
    {
        private IAdminNavRepository repository;
        public NavController(IAdminNavRepository repo)
        {
            repository = repo;
        }
        public ActionResult Index()
        {
            return View(repository.AdminNavs);
        }

    }
}
